<?php if (isset($data['R'])) { ?>
<li id="<?php e($data['R']['id']); ?>"><span class="right text">[R] <?php e($data['R']['id']); ?> - <?php e($data['R']['name']); ?> (<?php e($data['R']['email']); ?>)</span>
  <ul class="ajax">
    <li>{url:<?php e($this->base); ?>/admin/members/tree/<?php e($data['R']['id']); ?>}</li>
  </ul>
</li>
<?php } ?>
<?php if (isset($data['L'])) { ?>
<li id="<?php e($data['L']['id']); ?>"><span class="left text">[L] <?php e($data['L']['id']); ?> - <?php e($data['L']['name']); ?> (<?php e($data['L']['email']); ?>)</span>
  <ul class="ajax">
    <li>{url:<?php e($this->base); ?>/admin/members/tree/<?php e($data['L']['id']); ?>}</li>
  </ul>
</li>
<?php } ?>